package io.sdph.view;

import java.util.Calendar;


/**
 * Klasa odpowiedzialna za zawartosc stopki
 * 
 * @author MODUL FRONTU (WWW)
 *
 */
public class FooterPanel {

	String 		allRightsReservedText;
	MenuPanel 	menu;
	
	/**
	 * Konstruktor dla FooterPanel z parametrem menu
	 * @param MenuPanel menu 
	 */
	FooterPanel(MenuPanel menu) {
		this.allRightsReservedText = "All rights reserved SOPH � " + Calendar.getInstance().get(Calendar.YEAR);
		this.menu = menu;
	}

	/**
	 * Getter dla tekstu 'all rights reserved'
	 * @return String
	 */
	public String getAllRightsReservedText() {
		return allRightsReservedText;
	}

	/**
	 * Getter dla menu
	 * @return MenuPanel menu
	 */
	public MenuPanel getMenu() {
		return menu;
	}
	
}
